libecc_public_headers = files(
  'fp/fp.h',
  'fp/fp_pow.h',
  'fp/fp_rand.h',
  'fp/fp_add.h',
  'fp/fp_sqrt.h',
  'fp/fp_montgomery.h',
  'fp/fp_mul.h',
  'fp/fp_config.h',
  'fp/fp_mul_redc1.h',
  'lib_ecc_config.h',
  'utils/utils.h',
  'utils/print_nn.h',
  'utils/print_buf.h',
  'utils/dbg_sig.h',
  'utils/print_curves.h',
  'utils/print_keys.h',
  'utils/print_fp.h',
  'lib_ecc_types.h',
  'curves/aff_pt.h',
  'curves/ec_shortw.h',
  'curves/prj_pt.h',
  'curves/ec_edwards.h',
  'curves/known/ec_params_bign384v1.h',
  'curves/known/ec_params_brainpoolp224t1.h',
  'curves/known/ec_params_external.h',
  'curves/known/ec_params_gost_R3410_2001_CryptoPro_A_ParamSet.h',
  'curves/known/ec_params_brainpoolp192t1.h',
  'curves/known/ec_params_sm2p256v1.h',
  'curves/known/ec_params_gost_R3410_2012_512_paramSetTest.h',
  'curves/known/ec_params_brainpoolp320r1.h',
  'curves/known/ec_params_secp256r1.h',
  'curves/known/ec_params_secp192k1.h',
  'curves/known/ec_params_brainpoolp320t1.h',
  'curves/known/ec_params_secp224r1.h',
  'curves/known/ec_params_gost_R3410_2012_512_paramSetC.h',
  'curves/known/ec_params_sm2p256test.h',
  'curves/known/ec_params_secp192r1.h',
  'curves/known/ec_params_gost256.h',
  'curves/known/ec_params_secp384r1.h',
  'curves/known/ec_params_wei25519.h',
  'curves/known/ec_params_wei448.h',
  'curves/known/ec_params_bign256v1.h',
  'curves/known/ec_params_gost512.h',
  'curves/known/ec_params_brainpoolp512r1.h',
  'curves/known/ec_params_brainpoolp256t1.h',
  'curves/known/ec_params_secp256k1.h',
  'curves/known/ec_params_gost_R3410_2012_512_paramSetA.h',
  'curves/known/ec_params_gost_R3410_2001_CryptoPro_XchA_ParamSet.h',
  'curves/known/ec_params_brainpoolp384t1.h',
  'curves/known/ec_params_brainpoolp256r1.h',
  'curves/known/ec_params_gost_R3410_2012_256_paramSetC.h',
  'curves/known/ec_params_gost_R3410_2001_CryptoPro_XchB_ParamSet.h',
  'curves/known/ec_params_gost_R3410_2001_CryptoPro_B_ParamSet.h',
  'curves/known/ec_params_gost_R3410_2001_CryptoPro_C_ParamSet.h',
  'curves/known/ec_params_brainpoolp224r1.h',
  'curves/known/ec_params_gost_R3410_2012_256_paramSetD.h',
  'curves/known/ec_params_sm2p192test.h',
  'curves/known/ec_params_gost_R3410_2012_256_paramSetA.h',
  'curves/known/ec_params_bign512v1.h',
  'curves/known/ec_params_brainpoolp192r1.h',
  'curves/known/ec_params_secp521r1.h',
  'curves/known/ec_params_gost_R3410_2001_TestParamSet.h',
  'curves/known/ec_params_secp224k1.h',
  'curves/known/ec_params_brainpoolp384r1.h',
  'curves/known/ec_params_gost_R3410_2012_256_paramSetB.h',
  'curves/known/ec_params_brainpoolp512t1.h',
  'curves/known/ec_params_frp256v1.h',
  'curves/known/ec_params_gost_R3410_2012_512_paramSetB.h',
  'curves/ec_params.h',
  'curves/ec_montgomery.h',
  'curves/curves.h',
  'curves/curves_list.h',
  'external_deps/print.h',
  'words/words.h',
  'words/types.h',
  'words/words_16.h',
  'words/words_32.h',
  'words/words_64.h',
  'libarith.h',
  'libsig.h',
  'hash/bash.h',
  'hash/bash512.h',
  'hash/sha3-224.h',
  'hash/ripemd160.h',
  'hash/sha512-224.h',
  'hash/sha3-256.h',
  'hash/bash384.h',
  'hash/hmac.h',
  'hash/sm3.h',
  'hash/streebog256.h',
  'hash/bash256.h',
  'hash/streebog512.h',
  'hash/streebog.h',
  'hash/sha3.h',
  'hash/sha256.h',
  'hash/shake.h',
  'hash/sha3-512.h',
  'hash/belt-hash.h',
  'hash/sha2.h',
  'hash/keccak.h',
  'hash/sha384.h',
  'hash/sha3-384.h',
  'hash/hash_algs.h',
  'hash/bash224.h',
  'hash/sha224.h',
  'hash/sha512_core.h',
  'hash/sha512.h',
  'hash/shake256.h',
  'hash/sha512-256.h',
  'libec.h',
  'nn/nn_mul_redc1.h',
  'nn/nn_mul.h',
  'nn/nn_logical.h',
  'nn/nn_add.h',
  'nn/nn_modinv.h',
  'nn/nn_div_public.h',
  'nn/nn_rand.h',
  'nn/nn_add.h',
  'nn/nn_config.h',
  'nn/nn_mul_public.h',
  'nn/nn_div.h',
  'nn/nn_mod_pow.h',
  'nn/nn.h',
  'ecdh/ecdh.h',
  'ecdh/ecccdh.h',
  'ecdh/x25519_448.h',
  'sig/ecdsa_common.h',
  'sig/ecsdsa_common.h',
  'sig/fuzzing_ecrdsa.h',
  'sig/fuzzing_ecdsa.h',
  'sig/ecfsdsa.h',
  'sig/bip0340.h',
  'sig/ecgdsa.h',
  'sig/ecosdsa.h',
  'sig/eddsa.h',
  'sig/dbign.h',
  'sig/fuzzing_ecgdsa.h',
  'sig/ecsdsa.h',
  'sig/bign_common.h',
  'sig/bign.h',
  'sig/eckcdsa.h',
  'sig/ecrdsa.h',
  'sig/decdsa.h',
  'sig/sig_algs_internal.h',
  'sig/ecdsa.h',
  'sig/sm2.h',
  'sig/sig_algs.h',
  'sig/ec_key.h',
)

install_headers(
    libecc_public_headers,
    preserve_path: true,
    subdir: 'libecc',
)
